<?php echo  json_encode(array(
                   "success" => true,
                   "id" =>  $newGroup->getId(),
                   "nameGroup" =>  $newGroup->getNombreGrupo(),
                   "div" =>   "<div class='group'>".ucwords($newGroup->getNombreGrupo())."</div>"
    )); ?>

